// app.js
App({
  onLaunch: function() {
    var newsList = [{
      id:'1',
      title: '喜讯！温州市入选全省7个“夺鼎”设区市名单',
      author: '温州发布、浙江发布',
      time: '2023-05-22 08:43:32',
      pic: 'http://news.66wz.com/pic/003/010/987/00301098776_e8abcb9c.jpg',
      content: '<p>内容请自行获取</p>'
    }, {
        id: '2',
        title: '5+3！温州这些项目获省社科联通报表扬',
        author: '浙江发布',
        time: '2023-05-22 08:27:28',
        pic: 'http://news.66wz.com/pic/003/010/987/00301098746_0c45671f.png',
      content: '<p>内容请自行获取</p>'
    }, {
        id: '3',
        title: '2025年前温州计划稻渔综合种养逾20万亩',
        author: '温州网',
        time: '2023-05-22 09:15:00',
        pic: 'http://news.66wz.com/pic/003/010/987/00301098797_56b64c5e.jpg',
      content: '<p>内容请自行获取</p>'
    }, {
        id: '4',
        title: '一桩难求！这“桩”难事困扰了很多新能源车主',
        author: '温州网',
        time: '2023-05-22 09:15:00',
        pic: 'http://news.66wz.com/pic/003/010/987/00301098798_a98011a7.jpg',
        content: '<p>内容请自行获取</p>'
    }, {
        id: '5',
        title: '鹿城瓯海龙湾发布中小学幼儿园招生实施办法',
        author: '温州网',
        time: '2023-05-22 08:29:00',
        pic: 'http://news.66wz.com/pic/003/010/987/00301098799_6dbf120d.jpg',
        content: '<p>内容请自行获取</p>'
    }]
    var travelList = []
    var lifeList = []
    wx.setStorageSync("newsList", newsList)
    wx.setStorageSync("travelList", travelList)
    wx.setStorageSync("lifeList", lifeList)
  },

  globalData: {
    userInfo: null
  }
})
